/**
 * 猪场报表路由
 */

import Layout from "@/layout";
export default [
  {
    path: "/pig-statement",
    component: Layout,
    redirect: "/pig-statement/stock",
    name: "PigStatement",
    meta: {
      title: "猪场报表",
      icon: "el-icon-document",
    },
    children: [
      {
        path: "stock",
        component: () => import("@/views/pig-statement/stock"), // Parent router-view
        name: "Stock",
        meta: { title: "猪舍存栏" },
      },
      {
        path: "weed-out",
        component: () => import("@/views/pig-statement/weed-out"),
        name: "WeedOut",
        meta: { title: "死淘分析" },
      },
      {
        path: "gestational-age",
        component: () => import("@/views/pig-statement/gestational-age"),
        name: "GestationalAge",
        meta: { title: "胎龄比率" },
      },
    ],
  },
];